<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Product\Controller\Product' => 'Product\Controller\ProductController',
            'Product\Controller\Category' => 'Product\Controller\CategoryController',
            'Product\Controller\Catalog' => 'Product\Controller\CatalogController',
			
        ),
    ),
     'router' => array(
         'routes' => array(
             'product' => array(
                 'type'    => 'segment',
                 'options' => array(
                     'route'    => '/product[/][:action][/:id]',
                     'constraints' => array(
                         'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                         'id'     => '[0-9]+',
                     ),
                     'defaults' => array(
                         'controller' => 'Product\Controller\Product',
                         'action'     => 'index',
                     ),
                 ),
             ),
			 'productcategory' => array(
                 'type'    => 'segment',
                 'options' => array(
                     'route'    => '/product/category[/][:action][/:id]',
                     'constraints' => array(
                         'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                         'id'     => '[0-9]+',
                     ),
                     'defaults' => array(
                         'controller' => 'Product\Controller\Category',
                         'action'     => 'index',
                     ),
                 ),
             ),
			 'productcatalog' => array(
                 'type'    => 'segment',
                 'options' => array(
                     'route'    => '/product/catalog[/][:action][/:id]',
                     'constraints' => array(
                         'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                         'id'     => '[0-9]+',
                     ),
                     'defaults' => array(
                         'controller' => 'Product\Controller\Catalog',
                         'action'     => 'index',
                     ),
                 ),
             ),
         ),
     ),
    'view_manager' => array(
        'template_path_stack' => array(
            'Product' => __DIR__ . '/../view',
        ),
    ),
);
